package com.catt.orderdinner.service;

import com.catt.orderdinner.dataobject.TbProject;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface ProjectService {
    List<TbProject> findAll();

    Page<TbProject> findAll(Pageable pageable);

    TbProject findOneByUserId(String projectId);

    void save(TbProject project);

    void del(String id);
}
